package com.zt.bigdata.elasticsearch.entity;

import java.util.Arrays;

/**
 *
 */
public class Chengyu {
    private String word;
    private String shouzimu;
    private String quanpin;
    private String[] suggests;
    private String means;
    private String from;
    private String example;

    public Chengyu(String word, String quanpin, String means, String from, String example) {
        this.word = word;
        this.quanpin = quanpin;
        this.means = means;
        this.from = from;
        this.example = example;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public String getShouzimu() {
        return shouzimu;
    }

    public void setShouzimu(String shouzimu) {
        this.shouzimu = shouzimu;
    }

    public String getMeans() {
        return means;
    }

    public void setMeans(String means) {
        this.means = means;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getExample() {
        return example;
    }

    public void setExample(String example) {
        this.example = example;
    }

    public String getQuanpin() {
        return quanpin;
    }

    public void setQuanpin(String quanpin) {
        this.quanpin = quanpin;
    }

    public String[] getSuggests() {
        return suggests;
    }

    public void setSuggests(String[] suggests) {
        this.suggests = suggests;
    }

    @Override
    public String toString() {
        return "Chengyu{" +
                "word='" + word + '\'' +
                ", shouzimu='" + shouzimu + '\'' +
                ", quanpin='" + quanpin + '\'' +
                ", suggests=" + Arrays.toString(suggests) +
                ", means='" + means + '\'' +
                ", from='" + from + '\'' +
                ", example='" + example + '\'' +
                '}';
    }
}
